package com.example.ui.contact.bean;

import com.example.net.NetContact;


/**
 * 私信消息bean
 * @author Leone
 *
 */
public class ChatMsgItem {
	private String response;   //推送消息类型标识
	private String content;    //私信内容
	private String time;       //时间
	private String name;       //用户名
	private String userid;     //注册后用户分配的id,非百度userid
	private String pic = "no pic";        //头像
    /*
     * 消息类型，是发送的或是接收的
     * true---接收
     * false--发送
     */
    private boolean isComMeg = true;

	public ChatMsgItem(){
		
	}


	public String getResponse() {
		return response;
	}


	public void setResponse(String response) {
		this.response = response;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public String getTime() {
		return time;
	}


	public void setTime(String time) {
		this.time = time;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getUserid() {
		return userid;
	}


	public void setUserid(String userid) {
		this.userid = userid;
	}


	public String getPic() {
		return pic;
	}


	public void setPic(String pic) {
		this.pic = pic;
	}


	public boolean getComMeg() {
		return isComMeg;
	}


	/**
	 * 自己发送的消息为true,数据库储存为1
	 * 接收过来的消息为fase,数据库储存为0
	 * @param isComMeg
	 */
	public void setComMeg(boolean isComMeg) {
		this.isComMeg = isComMeg;
	}

	

}
